// people.js

const { DataTypes } = require('sequelize');
const sequelize = require('../config/database'); //

const People = sequelize.define('People', {
    // 定义表的字段和类型
    id: {
        type: DataTypes.INTEGER,
        primaryKey: true,
        autoIncrement: true,
    },
    name: {
        type: DataTypes.STRING,
        allowNull: false,
    },

    // 更多字段...
});

module.exports = People;